package com.llx.consumer;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @version 1.0
 * @description 目标:启动消费者监听消息
 * @author viki
 * @date 2021/8/20 22:28
 */
public class WorkQueueConsumer {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new
                ClassPathXmlApplicationContext("classpath:applicationContext-workqueue-consumer.xml");
        context.start();
    }
}
